Micron Document
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| SparkN0de-git | SparkN0de |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Commit 78572a6090cf0d9551a949d52e08b54079c4161b


Parents : 268fc11
Author : Sudo-Ivan <ivan@quad4.io>
Signature : Signature validation error
Date : 2026-01-01T21:56:48-06:00

feat(android): enhance android-prepare task to copy and vendor dependencies for MeshChatX

Changes

1 files changed, 19 insertions(+), 2 deletions(-)

M Taskfile.yml +19 -2

Diff

diff --git a/Taskfile.yml b/Taskfile.yml
index 5755745d..119c9f10 100644
--- a/Taskfile.yml
+++ b/Taskfile.yml
@@ -182,12 +182,29 @@ tasks:
android-prepare:
desc: Prepare Android build (copy meshchatx package and assets)
- deps: [build, android-init]
+ deps: [build-frontend, android-init]
cmds:
- |
- echo "Copying meshchatx package to Android project..."
+ echo "Copying meshchatx package and dependencies to Android project..."
mkdir -p android/app/src/main/python
+ # Remove old copies to ensure fresh build
+ rm -rf android/app/src/main/python/meshchatx
+ rm -rf android/app/src/main/python/RNS
+ rm -rf android/app/src/main/python/LXMF
+ rm -rf android/app/src/main/python/LXST
+
+ # Copy MeshChatX
cp -r meshchatx android/app/src/main/python/
+
+ # Vendor RNS, LXMF, and LXST from local source (like Sideband does)
+ cp -r /mnt/projects/Reticulum/Reticulum/RNS android/app/src/main/python/
+ cp -r /mnt/projects/Reticulum/LXMF/LXMF android/app/src/main/python/
+ cp -r /mnt/projects/Reticulum/LXST/LXST android/app/src/main/python/
+
+ # Cleanup vendored packages (remove utilities/tests etc if needed, similar to Sideband)
+ rm -rf android/app/src/main/python/RNS/Utilities/RNS
+ rm -rf android/app/src/main/python/LXMF/Utilities/LXMF
+ rm -rf android/app/src/main/python/LXST/Utilities/LXST
- |
echo "Android build prepared. Don't forget to:"
echo "1. Add Chaquopy license to android/local.properties"


──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────